package com.wy.mapper;

import com.wy.controller.dto.PetDrugDTO;
import com.wy.entity.PetDrug;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 宠物药物明细表 Mapper 接口
 * </p>
 *
 * @author 王昭贵
 * @since 2023-04-27
 */
@Mapper
public interface PetDrugMapper extends BaseMapper<PetDrug> {

    List<PetDrugDTO> getMyDrugListByCustomerId(@Param("id") Integer id);
}
